import request from "@/utils/request";

export default {
//获取最新公告信息
    getListByType(type,id) {
        return request({
            method: "GET",
            url: "/waterCompanyNotice/getListByType",
            params: {
                type: type,
                id: id
            }
        })
    },
    countPlus(id){
        return request({
            method: "GET",
            url: "/waterCompanyNotice/countPlus",
            params: {
                id: id,
            }
        })
    }
}